import React from 'react'
import { Button, SearchBar, Space, Toast, Swiper } from 'antd-mobile'
function Swiper(props) {
    return (
        <div>
            <Swiper>
                {props.list.map((item) => (
                    <Swiper.Item key={index}>
                        
                        <img src={item.image} alt="" />
                    </Swiper.Item>
                ))}
            </Swiper>
          
        </div>
    )
}

export default Swiper